home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 039a / mawk10.zip / MAKEFILE.MSC < prev    next >
Text File  |  1991-10-05  |  873b  |  32 lines

  1. # Microsoft C 6.0A for mawk, an implementation of AWK (1988).
  2. # This requires NMAKE
  3. ####################################
  4. #
  5. # This builds a regular expression library
  6. # Remove the -DMAWK and the library has general use.
  7.  
  8. CFLAGS = -O -DMSDOS_MSC -DMAWK
  9. #CFLAGS = -O -DMSDOS_MSC
  10.  
  11. ####################################
  12. # rules for making small-memory and large-memory object files
  13. #
  14. .c.obs:
  15.     cl $(CFLAGS) -AS -c -Fo$@ $<
  16. .c.obl:
  17.     cl $(CFLAGS) -AL -DLMDOS -c -Fo$@ $<
  18.  
  19. OBS=rexp.obs rexp0.obs rexp1.obs rexp2.obs rexp3.obs rexpdb.obs
  20. OS=rexp.obs+rexp0.obs+rexp1.obs+rexp2.obs+rexp3.obs+rexpdb.obs
  21.  
  22. OBL=rexp.obl rexp0.obl rexp1.obl rexp2.obl rexp3.obl rexpdb.obl
  23. OL=rexp.obl+rexp0.obl+rexp1.obl+rexp2.obl+rexp3.obl+rexpdb.obl
  24.  
  25. regexp.lib : $(OBS)
  26.     -del regexp.lib
  27.     lib regexp/noi $(OS);
  28.  
  29. lregexp.lib : $(OBL)
  30.     -del regexp.lib
  31.     lib lregexp/noi $(OL);
  32.